home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / awksrc.zip / README~1.SUN < prev    next >
Internet Message Format  |  1992-07-14  |  2KB

  1. Date:    Mon, 16 Mar 1992 14:49:10 -0400
  2. From:    <beebe@math.utah.edu>
  3. To:    david@cs.dal.ca, arnold@skeeve.atl.ga.us
  4.  
  5. ...
  6.  
  7. On the Sun 386i, floating-point numbers are printed without a leading
  8. zero digit.  This causes the cmp step to fail for the chem target.  I
  9. revised the Makefile, and at the same time, inserted an RM macro in
  10. place of the many rm calls.  The complete updated Makefile is appended
  11. below. This change should be applied to all systems to avoid the
  12. leading-zero problem in the future.
  13.  
  14. On the Sun 386i, my initial "make sunos40" resulted in a load failure
  15. with
  16.  
  17. >> Undefined:
  18. >> strncasecmp
  19. >> strftime
  20.  
  21. I therefore modified the Makefile to read
  22.  
  23. OPTIMIZE=    -g -O -fstrength-reduce -DSTRFTIME_MISSING -DSTRCASE_MISSING
  24.  
  25. and loading got further, but still failed:
  26.  
  27. >> tzset: ld: /lib/libc.a(localtime.o): multiply defined
  28. >> *** Error code 1
  29. >> make: Fatal error: Command failed for target `gawk'
  30. >> Current working directory /home/share/gnu/src/gawk-2.13
  31. >> *** Error code 1
  32. >> make: Fatal error: Command failed for target `test'
  33.  
  34. Investigation with nm showed that localtime() is only referenced by
  35. builtin.o, so I simply did
  36.  
  37.     chmod +x gawk
  38.     make test bigtest
  39.  
  40. and was able to complete the test after the leading-zero digit fix
  41. was applied to the Makefile.
  42.  
  43. The Sun 386i is not receiving further development by Sun, and SunOS
  44. 4.0.3 is the last O/S release for it, so perhaps you don't want to do
  45. anything other than note the problem in the README file.
  46.